package com.pengcheng.hnweb.config;

import com.alibaba.fastjson2.JSON;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FastjsonConfig {
    static {
        JSON.configWriterDateFormat("yyyy-MM-dd HH:mm:ss");
        JSON.configReaderDateFormat("yyyy-MM-dd HH:mm:ss");
    }
}
